package com.xdcplus.web.service.wip.impl;

import com.xdcplus.mp.service.impl.BaseServiceImpl;
import com.xdcplus.web.common.pojo.entity.wip.WipUnpackTool;
import com.xdcplus.web.common.pojo.vo.wip.WipUnpackToolVO;
import com.xdcplus.web.mapper.wip.WipUnpackToolMapper;
import com.xdcplus.web.service.wip.WipUnpackToolService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 拆包计划分配机台(WipUnpackTool)表服务实现类
 *
 * @author Devin.sang
 * @since 2023-06-07 15:58:19
 */
@Slf4j
@Service("wipUnpackToolService")
public class WipUnpackToolServiceImpl extends BaseServiceImpl<WipUnpackToolMapper, WipUnpackTool, WipUnpackTool, WipUnpackToolVO> implements WipUnpackToolService {

    @Autowired
    protected WipUnpackToolMapper wipUnpackToolMapper;

    @Override
    public List<WipUnpackTool> findByWipUnpackPlanIdFk(Long wipUnpackPlanIdFk) {
        return wipUnpackToolMapper.queryByWipUnpackPlanIdFk(wipUnpackPlanIdFk);
    }

}
